package com.teamclub.app.sservices;

import com.google.common.collect.Sets
import com.teamclub.domain.system.{AppSubjectUser, AppUserToken}
import org.springframework.stereotype.Service
import java.util.Set;

@Service
class ShiroService {
    def getUserPermissions(userId: Integer): Set[String] = {
        Sets.newHashSet();
    }
    def queryUser(userId: Long): AppSubjectUser = {
        new AppSubjectUser
    }
    def queryByToken(token: String): AppUserToken = {
        new AppUserToken
    }
}